package com.itheima.service;


import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;

public interface MemberService {


    Member findByTelephone(String telephone);

    void add(Member member);


    List<Integer> findMonthCount(List<String> months);


    PageResult findMemberByPage(QueryPageBean queryPageBean);

    Member findMemberById(Integer id);

    void editMember(Member member);

    void deleteMemberById(Integer id);

    List<Member> findMemberByIds(Integer[] ids) throws Exception;

    List<Integer> findAgegroupCount();
}
